package org.orz.story.pms.biz.model.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.orz.story.pms.biz.enums.PermissionTypeEnum;

@Data
public class AddPermissionReq {
    @ApiModelProperty("父菜单id，一级菜单为0")
    private Long parentId;
    @ApiModelProperty("权限名称")
    private String name;
    @ApiModelProperty(" 权限路径")
    private String url;
    /**{@link PermissionTypeEnum}*/
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("状态 1启用 0禁用")
    private Integer status;
    @ApiModelProperty("是否展示 0不展示 1展示")
    private Integer showFlag;
    @ApiModelProperty("菜单图标")
    private String icon;
}
